<!DOCTYPE html>
	<html lang="zh-cn">
		<head>
			<meta charset="UTF-8">
			<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
			<meta http-equiv="X-UA-Compatible" content="IE=edge">
			<title></title>
			<meta name="description" content="">
			<meta name="keywords" content="">
			<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
			<meta name="renderer" content="webkit">
			<meta http-equiv="Cache-Control" content="no-siteapp" />
			<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/sty.css"/>
			<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/reset.css"/>
			<script src="__PUBLIC__/admin/js/jquery-1.12.3.min.js" type="text/javascript" charset="utf-8"></script>
		</head>
		<body >
			<div style="line-height: 50px;margin-left: 5%;font-size: 20px;">信息</div>
			<form id='form' action="<{:U('admin/change_ps')}>" method="post" class="x-mkaform">
			<input name='admin_id' type='hidden' value='<{$admin_id}>'>
			
			<div class="bj">
			<li class="bj_left">
							输入旧密码：
						    </li>
							<li class="bj_right">
							<input id='' type="password" name="oldps" value="" />
						    </li>
							</div>
							
							<div class="bj"><li class="bj_left">
							输入新密码：
						     </li>
							<li class="bj_right">
							<input id=''  type="password" name="ps" value="" />
						    </li>
							</div>
							<div class="bj" style="border-bottom: 1px solid #ccc;">
								<li class="bj_right x-sub">
									<input type="submit" value="提交"/>
								</li>
							</div>
			</form>
			<script type="text/javascript">
			  $('#btnsubmit').click(
			  function()
			  { 
			  
					
					if($('#ps').val()!=''||$('#ps_ok').val()!='')
					{
						if($('#ps').val()==$('#ps_ok').val())
						{
							$('#form').submit();
						}
						    
						else
							alert('两次输入的密码不一致');
					}
					else
					alert('表单不能为空');
					
											
			  });
			</script>
		</body>
	</html>
